home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / incoming / jstools-.6v3 / jstools- / jstools-tk3.6v3.0 / lib / jdoc / panels / prefs.jdoc < prev   
Encoding:
Text File  |  1995-03-14  |  9.4 KB  |  57 lines

  1. {The jstools Global Preferences Panel
  2.  
  3. Introduction
  4. The jstools package provides a Global Preferences panel, shared by several applications, which lets you specify preferences that are shared among the jstools applications.  This panel is available from within the supported jstools applications, and also via the standalone jprefs application, which is just a wrapper around it.
  5.  
  6. (Most jstools applications also provide application¡specific preferences which can be set from within the application with an application¡specific preferences panel.)
  7.  
  8. The Global Preferences panel is implemented by the jprefpanel.tcl library; if you're a Tk programmer, you can use it in your own applications.
  9.  
  10. This document describes the Global Preferences panel provided by version 3.6/3.0 of the jstools libraries.
  11.  
  12. Usage
  13. NOTE:  Some of these preferences do not take effect until the next time an application is run.  (Also, which preferences take effect immediately and which are only effective the next time an application is run may vary from application to application.)
  14.  
  15. General Behaviour
  16. If `Auto¡position dialogue boxes' is selected, then applications that use the jstools libraries will attempt to centre dialogue boxes (like the Global Preferences panel itself) on the screen.  Otherwise they will let your window manager position them (and your window manager may ask you to choose a position for them).
  17.  
  18. If `Confirm actions' is selected, applications will ask for confirmation before certain actions, such as quitting or overwriting an existing file.  This is the default, but you will no doubt quickly become annoyed with it.  You are welcome to turn it off.
  19.  
  20. If `Fast file selector' is selected, the File Selector panel will come up a little faster, but it won't distinguish directories by appending a slash to their names, as it normally does.  (This checkbox is duplicated on the File Selector panel itself.)
  21.  
  22. Appearance
  23. If `Strict Motif Emulation' is not selected, user¡interface components such as buttons and scrollbars will highlight when the mouse pointer is moved over them to indicate they are active.  If it is selected, they will not change colour.  This preference doesn't take effect until the next time an application is run.
  24.  
  25. If `Scrollbars on left' is selected, scrollbars will be put to the left of the objects (normally text widgets or listboxes) they control; otherwise they'll be put to the right.  This preference doesn't take effect until the next time a window with a scrollbar is created (i.e., windows that are already on the screen won't have their scrollbars moved).
  26.  
  27. The Bell
  28. If `Visible Bell' is selected, jstools applications will simulate a bell by briefly flashing the relevant window.
  29.  
  30. If `Audible Bell' is selected, then under Tk 4 jstools applications will ring the display's bell if possible.  (Under Tk 3.6 and earlier, it's not possible to ring the bell, so this selection will have no effect.)  Note, however, that neither jstools applications nor the jstools libraries are guaranteed (or even particularly expected) to run under Tk 4.
  31.  
  32. It's fine for both `Visible Bell' and `Audible Bell' to be selected.  It's also OK for neither to be selected; you just won't get any notification when an application tries to ring the bell.
  33.  
  34. Keyboard Bindings
  35. The next three radio buttons let you select what kind of keyboard bindings you want.  `Basic bindings' gives you a very basic interface, which supports the arrow keys, the mouse, the Home, End, Next, and Prior (or PageUp and PageDown) keys if your keyboard has them, and not much else.  `Emacs bindings' gives you keyboard bindings modelled after the default keyboard commands of the Emacs editor, including the use of Control-u or Escape+number for repetition.  `vi bindings' gives you keyboard bindings modelled after those of the vi editor (at present these are still rudimentary).  `EDT bindings' gives you bindings modelled after the VMS EDT editor, for which I am very grateful to Achim Bohnet <ach@rosat.mpe-garching.mpg.de>.  (Achim has also done a lot of work on the vi bindings, and the bindings are still very much under development.)
  36.  
  37. If `Typing replaces selection' is selected, then typing while there's a selection will replace the selection (unless the insert point doesn't touch the selection), and moving the insert point, either by clicking with the mouse or through keyboard commands, will deselect any selected text.  With this option selected, the selection works more the way it does on a Mac or in a Motif application; without it, the selection works more the way it does in xterm(1).  (You may be more comfortable with this turned on if you're used to word processors, copying text is quicker with it off.)
  38.  
  39. Printing
  40. The `Printer:' field lets you type in the name of your printer.  (It sets the J_PREFS(printer) variable; it's up to the individual application to honour this.)
  41.  
  42. Saving Preferences (Or Not)
  43. The Save button saves your global preferences to disk, so they will be used the next time you start a jstools application, and closes the Global Preferences panel.
  44.  
  45. The Done button closes the Global Preferences panel.  The current settings will be used by the application, but they won't be saved to disk, so any changes you've made (since you last saved your preferences) won't be reflected the next time you use a jstools application.
  46.  
  47. Global preferences are saved in the file ~/.tk/defaults, which is in the standard X Windows resource format.  (For more information on this format, see X(1), particularly the section `RESOURCES', and option(n), particularly the section on option readfile.  Most jstools applications save their application¡specific preferences in the same format in the file ~/.tk/application-defaults, where application is the name of the particular application, but some may save them someplace else and/or in some other format.)
  48.  
  49. Evolution
  50. Feel free to report bugs (and feature requests) to me, <js@bu.edu>, and I will try to deal with them.  Also, feel free to fix bugs or add features on your own and let me know how you did it.
  51.  
  52. Changes
  53. The Global Preferences panel has changed to accommodate other changes since jstools 3.6/2.0.  In particular, the `vi bindings' and `Typing replaces selection' options are new.
  54.  
  55. Future Directions
  56. ╖ I hope to overhaul the Preferences mechanism.  I'd like to have some system similar to that in Brent Welch's exmh application, where preferences are organised into categories.  I'd like a central preference panel to list the categories, and for each application to be able to add categories, instead of having separate global and application¡specific panels.  Also,  I'd like to add an interface for editing all the standard Tk appearance resources, as described in options(n), so users don't have to edit defaults files by hand to adjust fonts, colours, relief options, etc.
  57. } {{{jdoc:xref:link {4.0 4.19 4.273 4.279 8.51 8.65 10.84 10.105 16.74 16.95 20.37 20.60 28.31 28.38 30.47 30.54 35.87 35.101 35.288 35.302 35.464 35.475 35.587 35.599}} {jdoc:xref:manpage {37.451 37.456 47.152 47.153 47.200 47.206 56.468 56.475}} {jdoc:anchor:anchorname {3.0 4.0 12.0 13.0 34.0 35.0 49.0 50.0}} {richtext:font:roman {2.0 3.0 4.0 4.4 4.11 4.150 4.157 4.223 4.230 4.273 4.279 6.6 6.13 8.51 8.65 10.88 10.95 12.0 13.5 15.0 16.0 16.78 16.85 22.0 23.0 23.31 23.34 23.195 23.197 27.0 28.0 28.31 28.38 30.47 30.54 30.243 30.250 30.272 30.279 34.0 35.0 35.183 35.187 35.189 35.192 35.194 35.198 35.204 35.209 35.214 35.220 35.225 35.233 35.419 35.428 35.432 35.438 35.439 35.445 35.533 35.535 35.700 35.731 35.776 35.778 37.87 37.94 37.451 37.456 39.0 40.0 40.78 40.94 42.0 43.0 43.102 43.109 45.251 45.258 47.41 47.55 47.152 47.153 47.200 47.206 47.239 47.254 47.262 47.269 47.358 47.384 47.392 47.403 49.0 50.0 50.55 50.66 52.0 52.7 53.76 53.83 55.0 55.17 56.111 56.115 56.468 56.475 57.0}} {richtext:font:italic {23.31 23.34 23.195 23.197 35.439 35.445 37.87 37.94 47.364 47.375 47.392 47.403}} {richtext:font:bold {4.4 4.11 4.150 4.157 4.223 4.230 6.6 6.13 8.51 8.65 10.88 10.95 13.0 13.5 16.78 16.85 28.31 28.38 30.47 30.54 30.243 30.250 30.272 30.279 35.183 35.187 35.189 35.192 35.194 35.198 35.204 35.209 35.214 35.220 35.225 35.233 35.419 35.428 35.432 35.438 43.102 43.109 45.251 45.258 47.41 47.55 47.262 47.269 47.358 47.364 47.375 47.384 53.76 53.83}} {richtext:font:typewriter {4.273 4.279 35.533 35.535 35.700 35.731 35.776 35.778 37.451 37.456 40.78 40.94 47.152 47.153 47.200 47.206 47.239 47.254 50.55 50.66 56.111 56.115 56.468 56.475}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {3.0 4.0 12.0 13.0 49.0 50.0}} {richtext:font:heading2 {15.0 16.0 22.0 23.0 27.0 28.0 34.0 35.0 39.0 40.0 42.0 43.0 52.0 52.7 55.0 55.17}} {jdoc:anchorname:Introduction {3.0 4.0}} {jdoc:link:jslibraries.jdoc {10.84 10.105 16.74 16.95}} {jdoc:link:jprefs.jdoc {4.273 4.279}} {jdoc:anchorname:Usage {12.0 13.0}} {jdoc:manpage:option {47.200 47.206}} {jdoc:manpage:X {47.152 47.153}} {jdoc:manpage:options {56.468 56.475}} {jdoc:anchorname:Evolution {49.0 50.0}} {jdoc:manpage:xterm {37.451 37.456}} {jdoc:link:jstools.jdoc {4.0 4.19 28.31 28.38 30.47 30.54}} {jdoc:link:jprefpanel.tcl.jdoc {8.51 8.65}} {jdoc:link:jstools/bindbasic.jdoc {35.87 35.101}} {jdoc:link:jstools/bindemacs.jdoc {35.288 35.302}} {jdoc:link:jstools/bindvi.jdoc {35.464 35.475}} {jdoc:anchorname:Keyboard_Bindings {34.0 35.0}} {jdoc:link:panels/fileselector.jdoc {20.37 20.60}} {jdoc:link:jstools/bindedt.jdoc {35.587 35.599}}} {{matchend 43.45} {abbrevstart 37.256} {abbrevend 37.256} {insert 1.0} {emacs_mark 57.0} {matchstart 43.34} {anchor 44.0} {current 1.0}}}